package com.aptech.daos;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractWareHouse entity provides the base persistence definition of the
 * WareHouse entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractWareHouse implements java.io.Serializable {

	// Fields

	private Integer wareHouseId;
	private Factory factory;
	private String wareHouseName;
	private String location;
	private Set categorieses = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractWareHouse() {
	}

	/** minimal constructor */
	public AbstractWareHouse(Integer wareHouseId, String wareHouseName,
			String location) {
		this.wareHouseId = wareHouseId;
		this.wareHouseName = wareHouseName;
		this.location = location;
	}

	/** full constructor */
	public AbstractWareHouse(Integer wareHouseId, Factory factory,
			String wareHouseName, String location, Set categorieses) {
		this.wareHouseId = wareHouseId;
		this.factory = factory;
		this.wareHouseName = wareHouseName;
		this.location = location;
		this.categorieses = categorieses;
	}

	// Property accessors

	public Integer getWareHouseId() {
		return this.wareHouseId;
	}

	public void setWareHouseId(Integer wareHouseId) {
		this.wareHouseId = wareHouseId;
	}

	public Factory getFactory() {
		return this.factory;
	}

	public void setFactory(Factory factory) {
		this.factory = factory;
	}

	public String getWareHouseName() {
		return this.wareHouseName;
	}

	public void setWareHouseName(String wareHouseName) {
		this.wareHouseName = wareHouseName;
	}

	public String getLocation() {
		return this.location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public Set getCategorieses() {
		return this.categorieses;
	}

	public void setCategorieses(Set categorieses) {
		this.categorieses = categorieses;
	}

}